using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Entity.BBC
{
	[Table("ProudctCategroy")]
	public class ProductCategory{
		private long _id;
		private string _name;
		private long _fatherid;
		private DateTime _createtime;
		private string _title;
		private string _info;
		private string _keyword;
		private long _producttypeid;
		private int _sortnum;
		private string _csspath;
		private string _groupname;
		private int _status;
		private string _categotymobilepic;
		private decimal _commission;
		private string _mobilepic;

		[Key]
		public long id
		{
			get { return _id; }
			set { _id = value; }
		}

		public string name
		{
			get { return _name; }
			set { _name = value; }
		}

		public long fatherId
		{
			get { return _fatherid; }
			set { _fatherid = value; }
		}

		public DateTime createTime
		{
			get { return _createtime; }
			set { _createtime = value; }
		}

		///<summary>
		///标题
		///</summary>
		public string Title
		{
			get { return _title; }
			set { _title = value; }
		}

		///<summary>
		///页面详细
		///</summary>
		public string Info
		{
			get { return _info; }
			set { _info = value; }
		}

		public string KeyWord
		{
			get { return _keyword; }
			set { _keyword = value; }
		}

		///<summary>
		///商品类型
		///</summary>
		public long ProductTypeId
		{
			get { return _producttypeid; }
			set { _producttypeid = value; }
		}

		///<summary>
		///编号
		///</summary>
		public int SortNum
		{
			get { return _sortnum; }
			set { _sortnum = value; }
		}

		public string cssPath
		{
			get { return _csspath; }
			set { _csspath = value; }
		}

		public string GroupName
		{
			get { return _groupname; }
			set { _groupname = value; }
		}

		public int Status
		{
			get { return _status; }
			set { _status = value; }
		}

		///<summary>
		///分类移动图片
		///</summary>
		public string CategotyMobilePic
		{
			get { return _categotymobilepic; }
			set { _categotymobilepic = value; }
		}

		///<summary>
		///佣金
		///</summary>
		public decimal Commission
		{
			get { return _commission; }
			set { _commission = value; }
		}

		public string MobilePic
		{
			get { return _mobilepic; }
			set { _mobilepic = value; }
		}
	}
}